package ink.common;

/**
 * @author wangzhuangzhuang
 * @Description:
 * @date 2022-05-18 16:57
 */
public class EmpTest {

	public static void main(String[] args) {
		Emp emp = new Emp("张三");
		change(emp);
		System.out.println(emp.name); // 张三
	}

	public static void change(Emp p){
			Emp emp = new Emp("里斯");
			p = emp;
	}

}

class Emp {
	String name;

	public Emp(String name) {
		this.name = name;
	}
}